<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets">
      
	<h:head>
		<title><ui:insert name="title">Title</ui:insert> </title>
		<link rel="stylesheet" type="text/css" href="../resources/css/bootstrap.css"/>
		<link rel="stylesheet" type="text/css" href="../resources/css/bootstrap.datatable.css"/>

		<script type="text/javascript" language="javascript" src="../resources/js/jquery.min.js"></script>
		<script type="text/javascript" language="javascript" src="../resources/js/bootstrap.js"></script>
		<script type="text/javascript" language="javascript" src="../resources/js/jquery.dataTables.min.js"></script>
		<script type="text/javascript" language="javascript" src="../resources/js/boostrap.datatable.js"></script>
		<script type="text/javascript" language="javascript" src="../resources/js/style.js"></script>
	</h:head>

	<h:body>
		<div class="container">
			<div class="row">
				<div class="navbar navbar-inverse navbar-fixed-top">
          			<div class="container">
            			<div class="navbar-header">
              				<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
				                <span class="sr-only">Toggle navigation</span>
				                <span class="icon-bar"></span>
				                <span class="icon-bar"></span>
				                <span class="icon-bar"></span>
              				</button>
              				<a class="navbar-brand" href="#">
              					<i class="glyphicon glyphicon-flag"/>
								<span><b>SIA</b> administration panel</span>
              				</a>
            			</div>
            			
            			<div class="navbar-collapse collapse">
              				<ul class="nav navbar-nav">
                				<li class="dropdown">
                  					<a href="#" class="dropdown-toggle" data-toggle="dropdown">Data Master <b class="caret"></b></a>
                  					<ul class="dropdown-menu">
                  						<li><a href="admin.jsf">Data Admin</a></li>
                  						<li><a href="siswa.jsf">Data Siswa</a></li>
                  						<li><a href="guru.jsf">Data Guru</a></li>
                  						<li><a href="mapel.jsf">Data Mata Pelajaran</a></li>
                  						<li><a href="jurusan.jsf">Data Jurusan</a></li>
                  						<li><a href="semester.jsf">Data Semester</a></li>
                  						<li><a href="jenisnilai.jsf">Data Jenis Nilai</a></li>
                  					</ul>
                				</li>
                				<li class="dropdown">
                  					<a href="#" class="dropdown-toggle" data-toggle="dropdown">Data Proses Semester <b class="caret"></b></a>
                  					<ul class="dropdown-menu">
                  						<li><a href="kelas.jsf">Data Kelas</a></li>
                  						<li><a href="kelassiswa.jsf">Data Siswa per Kelas</a></li>
                  						<li><a href="jadwal.jsf">Data Jadwal Pelajaran</a></li>
                  					</ul>
                				</li>
                				<li class="dropdown">
                  					<a href="#" class="dropdown-toggle" data-toggle="dropdown">Nilai <b class="caret"></b></a>
                  					<ul class="dropdown-menu">
                  						<li><a href="nilai.jsf">Data Nilai</a></li>
                  						<li><a href="laporannilai.jsf">Laporan Nilai Per Mata Pelajaran</a></li>
                  						<li><a href="laporanrapot.jsf">Laporan Hasil Ujian (Raport)</a></li>
                  					</ul>
                				</li>
                				<li class="dropdown">
                  					<a href="#" class="dropdown-toggle" data-toggle="dropdown">Absensi <b class="caret"></b></a>
                  					<ul class="dropdown-menu">
                  						<li><a href="absen.jsf">Data Absensi</a></li>
                  						<li><a href="laporanabsensi.jsf">Laporan Absensi Siswa</a></li>
                  					</ul>
                				</li>
                				<li class="dropdown">
                  					<a href="#" class="dropdown-toggle" data-toggle="dropdown">Analisa <b class="caret"></b></a>
                  					<ul class="dropdown-menu">
                  						<li><a href="analisa.jsf">Analisa Perkembangan Siswa</a></li>
                  					</ul>
                				</li>
              				</ul>
              				
              				<div class="pull-right" style="margin-top: 7px;"><h:outputLink rendered="#{sessionBean.login}" value="logout.jsf?id=#{sessionBean.idadmin}" styleClass="btn btn-danger" onclick="if(!confirm('Anda yakin ingin logout session ini?'))return false;"><i class="glyphicon glyphicon-user"/> logout</h:outputLink> </div>
              				<div class="pull-right" style="margin-top: 15px;"><h:outputLink rendered="#{sessionBean.login}" value="#" >login as #{sessionBean.namaadmin} <h:outputLabel value="  " /></h:outputLink></div>
            			</div>
          			</div>
        		</div>
			</div>
		</div>
		
		<div class="container">
			<div class="row">
				<br/><br/><br/>
				<div class="col-sm-12 col-md-12 col-lg-12">	
					<div class="panel panel-default">
							<div class="panel-body">
								<div class="page-header"><h1><ui:insert name="header">Header</ui:insert></h1></div>
								<ui:insert name="body">Body</ui:insert>
							</div>
						</div>
				</div>
			</div>
		</div>
		
<!-- 		<ui:include src="/templates/message.xhtml" /> -->
	</h:body>
		
</html>